package com.bjpowernode.api.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 麦翔盛
 * @ClassName: UserAccountInfo
 * @Package: com.bjpowernode.api.dto
 * @description: 用户以及账户信息
 * @date 2022/5/26 15:49
 */
public class UserAccountInfo implements Serializable {

    private String name;
    private String phone;
    private Date lastLoginTime;
    private String headerImage;
    private BigDecimal availableMoney;

    public UserAccountInfo() {
    }

    public UserAccountInfo(String id, String phone, Date lastLoginTime, String headerImage, BigDecimal availableMoney) {
        this.name = id;
        this.phone = phone;
        this.lastLoginTime = lastLoginTime;
        this.headerImage = headerImage;
        this.availableMoney = availableMoney;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getHeaderImage() {
        return headerImage;
    }

    public void setHeaderImage(String headerImage) {
        this.headerImage = headerImage;
    }

    public BigDecimal getAvailableMoney() {
        return availableMoney;
    }

    public void setAvailableMoney(BigDecimal availableMoney) {
        this.availableMoney = availableMoney;
    }

    @Override
    public String toString() {
        return "UserAccountInfo{" +
                "id=" + name +
                ", phone='" + phone + '\'' +
                ", lastLoginTime=" + lastLoginTime +
                ", headerImage='" + headerImage + '\'' +
                ", availableMoney=" + availableMoney +
                '}';
    }
}
